{{ if .Params.updated }}
<time datetime="{{ dateFormat "2006-01-02" .Params.updated }}">{{ dateFormat "2 January 2006"  .Params.updated }}</time> 
{{else}}
<time datetime="{{ .Date.Format "2006-01-02"}}">{{ .Date.Format "2 January 2006" }}</time>
{{- end -}}
